package com.wyw.design.model.learning.behavioral.visitor.simple;

/**
 * @Title   具体的访问者
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/19 17:09
 * Update History:
 * Author        Time            Content
 */
public class ConcreteVisitorSimpleA implements VisitorSimple {
    @Override
    public void visit(ConcreteElementSimpleA element){
        // 实现自己的对元素ConcreteElementA的访问行为
        System.out.println("访问者A访问元素" + element.toString());
    }
}
